package com.fooddiary.web.form;

/**
 * 
 * @author Created by andrey.kuznetsov <br>
 * @author Last modified by $Author$ <br>
 * @author Last modified on $Date$ at revision $Revision$ <br>
 */
public class BaseForm {

	protected Integer id;
	protected Short enabled;
	
	public BaseForm() {
		
	}
	
	public BaseForm(Integer p_id, Short p_enabled) {
		super();
		id = p_id;
		enabled = p_enabled;
	}
	
	/**
	 * Returns unique id of money record <br>
	 * @return {@link Integer}
	 */
	public Integer getId() {
		return id;
	}
	
	/**
	 * Sets unique id of money record <br>
	 * @param p_id {@link Integer}
	 */
	public void setId(Integer p_id) {
		id = p_id;
	}
	
	/**
	 * Returns enabled flag <br>
	 * @return {@link Short}
	 */
	public Short getEnabled() {
		return enabled;
	}
	
	/**
	 * Sets enabled flag <br>
	 * @param p_enabled; {@link Short}
	 */
	public void setEnabled(Short p_enabled) {
		enabled = p_enabled;
	}
}
